POV-Ray : Newsgroups : povray.beta-test : orthographic camera renders object 'black' : orthographic camera renders object 'black' Server Time
7 May 2024 14:02:29 EDT (-0400)
  orthographic camera renders object 'black'  
From: Jeff McClintock
Date: 2 May 2002 16:46:19
Message: <3cd1a59b@news.povray.org>
This object renders fine with a regular camera, but when I switched to
orthographic, it has no shading whatsoever, moving the orthographic camera
very slighly off-center fixes the problem.

Jeff M

using version 3.5 beta, VC++ exe

Apologies if this is a known issue
---------------------------------------------------------------------------
// ROTARY SWITCH

#include "colors.inc"


  camera {
   orthographic
//   location <0, 0.0001, -2>  // OK
   location <0, 0.000, -2>  // RENDERS 'BLACK' !!
   look_at <0, 0, 0>
  }

light_source { <-15, 15, -4> color White }


prism {
    conic_sweep
   cubic_spline
    1, // sweep the following shape from here ...
    0.6, // ... up through here
    27, // the number of points making up the shape ...
< 0.965926, 0.258819 >,
< 0.900000, 0.000000 >,
< 0.965926, -0.258819 >,
< 0.866025, -0.500000 >,
< 0.636396, -0.636396 >,
< 0.500000, -0.866025 >,
< 0.258819, -0.965926 >,
< -0.000000, -0.900000 >,
< -0.258819, -0.965926 >,
< -0.500000, -0.866025 >,
< -0.636396, -0.636396 >,
< -0.866025, -0.500000 >,
< -0.965926, -0.258819 >,
< -0.900000, 0.000000 >,
< -0.965926, 0.258819 >,
< -0.866025, 0.500000 >,
< -0.636396, 0.636396 >,
< -0.500000, 0.866025 >,
< -0.258819, 0.965926 >,
< 0.000000, 0.900000 >,
< 0.258819, 0.965926 >,
< 0.500000, 0.866025 >,
< 0.636396, 0.636396 >,
< 0.866025, 0.500000 >,
< 0.965926, 0.258819 >,
< 0.900000, -0.000000 >,
< 0.965926, -0.258819 >
    rotate <90,0,0>
    pigment { Grey }
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.